import request from "../utils/request";

//条件查询
export const queryWarehousingEntryUp = (page,pageSize,supplierName) =>  request.get(`/warehousing/entry/up?page=${page}&pageSize=${pageSize}&supplierName=${supplierName}`)

//修改上架数量
export const updateWarehousingEntryUp = (data) =>  request.put(`/warehousing/entry/up`,data)

//查询数据
export const queryWarehousingUpList = (page,pageSize,warehouseName,skuName) =>  request.get(`/warehousing/entry/up/select?page=${page}&pageSize=${pageSize}&warehouseName=${warehouseName}&skuName=${skuName}`)

//查询上架数据
export const queryEntryUpSkuPageApi=(title,code,pageNum,pageSize)=>request.get(`/warehousing/entry/up/skuDetails/page?title=${title}&code=${code}&pageNum=${pageNum}&pageSize=${pageSize}`)